package de.dfki.asr.genesis2.sms.util;


public class Location {

	//private double precision = 0; // 0 if point, avg of half edges in a polygon
	private String name = null;
	private Address address = null;
	private Point point = null;
	//private BoundingBox boundingBox = null;
	
	public Location(double latitude, double longitude) {
		this.point = new Point(latitude,longitude);
	}
	
	public Location(Point point, Address address) {
		this.point = point;
		this.address = address;
	}
	
	public Location() {
		
	}

	public Point getPoint() {
		return point;
	}

	public void setPoint(Point point) {
		this.point = point;
	}

	/*public double getPrecision() {
		return precision;
	}

	public void setPrecision(double precision) {
		this.precision = precision;
	}*/

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
